package com.cskaoyan.mall.order.service;

import com.cskaoyan.mall.order.dto.StockDto;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Charadic
 * @since 2022/05/21 14:11
 */
public interface StockService {

    @GetMapping("/rpc/getItemStock")
    StockDto getItemStock (@RequestParam("itemId") Long itemId);

}
